package com.buaa.xxx0315;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;

public class RmiService extends Service {

    private int progress = 100;

    public class MyBinder extends Binder {
        public int getProgress() {
            return progress;
        }
    }

    public RmiService() {
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.i("xxx", "onCreate: ");
    }

    @Override
    public IBinder onBind(Intent intent) {
        return new MyBinder();
    }
}
